package com.ten_4_4.hiring.talent.po;

public class TalentPo {
	private int id;
	private String code;
	private String password;
	private String nickname;
	private String name;
	private String phone;
	private String email;
	private int age;
	private int gender;
	private String hobby;
	private int education;
	public int getEducation() {
		return education;
	}
	public String getEducationStr() {
		if(education == 1) {
			return "专科";
		} else if(education == 2) {
			return "本科";
		}
		return "研究生";
	}
	public void setEducation(int education) {
		this.education = education;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getGender() {
		return gender;
	}
	public String getGenderStr() {
		if(gender == 1) {
			return "男";
		}
		return "女";
	}
	public void setGender(int gender) {
		this.gender = gender;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
}
